package edu.byu.intex2.data.bo;

/**
 * Person contains basic contact information about a person.
 * @author Brady
 */
public class Person extends BusinessObject {
    private String firstName;
    private String lastName;
    private String address;
    private String phone;

    /** Creates a new instance of BusinessObject */
    public Person(String id) {
        super(id);
    }//constructor

    /** @return full name */
    public String getFullName(){
        return getFirstName() + " " + getLastName();
    }

    /**
     * @return the firstName
     */
    public String getFirstName() {
        return firstName;
    }

    /**
     * @param firstName the firstName to set
     */
    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    /**
     * @return the lastName
     */
    public String getLastName() {
        return lastName;
    }

    /**
     * @param lastName the lastName to set
     */
    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    /**
     * @return the address
     */
    public String getAddress() {
        return address;
    }

    /**
     * @param address the address to set
     */
    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * @return the phone
     */
    public String getPhone() {
        return phone;
    }

    /**
     * @param phone the phone to set
     */
    public void setPhone(String phone) {
        this.phone = phone;
    }

}
